/** init domain config */
import './config'  //设置了几个路径用于配置图片路径什么鬼的
import Vue from 'vue'
import App from './App.vue'
import Storage from 'vue-ls'
import router from './router'
import store from './store/'
import { VueAxios } from "@/utils/request"
//把相关响应式挂载放到这个文件夹里，比较简洁
import bootstrap from './core/bootstrap'
import Antd, { version } from 'ant-design-vue'
import 'ant-design-vue/dist/antd.less';  // or 'ant-design-vue/dist/antd.less'
import '@/permission' // permission control
import '@/utils/filter' // base filter   //vue的过滤器后面我发现还是挺好用的类似于rule
import 'vue-photo-preview/dist/skin.css'
import config from '@/defaultSettings'
import JDictSelectTag from './components/dict/index.js'//数据字典，用法未知
import hasPermission from '@/utils/hasPermission'    //估计是哪个具体文件需要的权限
import '@/components/jeecg/JVxeTable/install'
import '@/components/JVxeCells/install'
//表单验证
import { rules } from '@/utils/rules'
//在对应文件夹它引入了很多没什么用的组件，我把有用的留下来了，大大提升了性能
import JeecgComponents from '@/components/jeecg/index'
Vue.use(JeecgComponents);
Vue.prototype.rules = rules
Vue.config.productionTip = false
Vue.use(Storage, config.storageOptions)
Vue.use(Antd)
Vue.use(VueAxios, router)
Vue.use(hasPermission)
Vue.use(JDictSelectTag)

new Vue({
  router,
  store,
  created: bootstrap,
  render: h => h(App)
}).$mount('#app')









// require('@jeecg/antd-online-mini')
// require('@jeecg/antd-online-mini/dist/OnlineForm.css')
// import Viser from 'viser-vue' //类似于echart https://viserjs.github.io/demo.html#/viser/event/legend-position-choose
// import Print from 'vue-print-nb-jeecg'   //打印
// import preview from 'vue-photo-preview'    //图片放大插件   https://www.cnblogs.com/qhantime/p/13731678.html
// import vueBus from '@/utils/vueBus';   //目测是全局事件总线，但是都有vuex了，有点。。。
// import '@/assets/less/JAreaLinkage.less'
// import VueAreaLinkage from 'vue-area-linkage'   //选择市县 https://github.com/dwqs/vue-area-linkage

// Vue.use(Print)
// Vue.use(preview)
// Vue.use(vueBus);

// Vue.use(VueAreaLinkage);
// Vue.use(Viser)
